package com.ybkj.o2o.zhuanxian.manager;

import com.ybkj.o2o.zhuanxian.common.DataGrid;
import com.ybkj.o2o.zhuanxian.entity.OrderReview;

public interface OrderReviewManager {

  int insert(OrderReview orderReview);

  OrderReview findByOrderIdAndAppKey(Long orderId, String appKey);

  void deleteById(Long id, String appKey);

  OrderReview findOne(Long id, String appKey);

  DataGrid<OrderReview> findByDriver(Long driverId, Integer page, Integer rows, String appKey);

}
